package java44th.group.bean.admin.bo.cotegory;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Aurhor: 11437
 * @DATE: 2022/10/12 23:46
 * @Description:
 * @Version 1.0
 */

@NoArgsConstructor
@Data
public class DeleteBo {

    private int id;
    private String name;
    private String keywords;
    private String desc;
    private String iconUrl;
    private String picUrl;
    private String level;
    private List<ChildrenDTO> children;

    public DeleteBo(int id, String name, String keywords, String desc, String iconUrl, String picUrl, String level) {
        this.id = id;
        this.name = name;
        this.keywords = keywords;
        this.desc = desc;
        this.iconUrl = iconUrl;
        this.picUrl = picUrl;
        this.level = level;
    }

    @NoArgsConstructor
    @Data
    public static class ChildrenDTO {
        private int id;
        private String name;
        private String keywords;
        private String desc;
        private String iconUrl;
        private String picUrl;
        private String level;
    }
}
